<?php if (!defined('SERVER_ROOT')) exit('No direct script access allowed');

class doimatkhau_Controller extends Controller {
     function __construct() {
        parent::__construct('hethong', 'doimatkhau');
        $this->model->goback_url = $this->view->get_controller_url();
        $this->check_login();
        $this->view->template->menu_html =$this->CREATE_MENU();
        $this->view->template->nhacviec_html =$this->CREATE_NHAC_VIEC(); 
        $this->CHECK_QUYEN('hethong', 'doimatkhau');
    }

    public function main()
    {
        $this->dsp_doimatkhau();
    }

    public function dsp_doimatkhau()
    {
        $this->view->render('dsp_doimatkhau');
    }

    public function do_doimatkhau()
    {
        $this->model->goback_url = $this->view->get_controller_url();
        $this->model->do_doimatkhau();
    }
  
}